package com.medusa.aps.business.modules.basic.model.output;


import cn.hutool.core.annotation.Alias;
import com.medusa.aps.business.model.enums.SourceEnum;
import com.medusa.aps.business.model.enums.State;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
public class SupplierVO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;
    /**
     * 供应商编码
     */
    @Schema(description = "供应商编码")
    private String supplierCode;
    /**
     * 供应商名称
     */
    @Schema(description = "供应商名称")
    private String supplierName;
    /**
     * 供应商电话
     */
    @Alias("供应商电话")
    @Schema(description = "供应商电话")
    private String supplierPhone;

    /**
     * 供应商姓名
     */
    @Alias("供应商姓名")
    @Schema(description = "供应商姓名")
    private String supplierPerson;
    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String creator;
    /**
     * 数据来源
     */
    @Schema(description = "数据来源")
    private SourceEnum dataSource;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private State state;

    /**
     * 供应商物料
     */
    @Schema(description = "供应商物料")
    private List<SupplierMaterialVO> supplierMaterials;

}
